<!-- xml version="1.0" encoding="utf-8" -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
	<title>The Self-Instruction Latin Classic</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<link href="flashcard.css" rel="stylesheet" type="text/css">
</head>
<script type="text/javascript">
var sentences = [
  ['LVPVS ET AGNVS', 'lupus  -ī,  <span class="etype">m.</span><br />āgnus -ī, <span class="etype">m.</span>', '--', 'THE WOLF AND THE LAMB'],
  ['Ad rivum eundem lupus et agnus venerant | Siti compulsi;', 'rīvus  -ī,  <span class="etype">m.</span> [ri-, <span class="def">flow</span>]<br />īdem, eadem, idem', 'sitis  -is, <span class="etype">f.</span><br />com-pellere, -ō, -pulī, -pulsus', 'Driven by thirst, a Wolf and a Lamb had come to the same stream;'],
  ['superior stabat lupus | Longeque inferior agnus.', '<span class="etype">comp.</span> superior <span class="etype">sup.</span> suprēmus/summus<br />stāre, stetī, status [STA-, <span class="def">stand/set</span>]', '<span class="etype">comp.</span> īnferior <span class="etype">sup.</span> īnfimus/īmus', 'the Wolf stood above, and the Lamb at a distance below.'],
  ['Tunc fauce improba  | Latro incitatus iurgii causam intulit.', 'fauce <span class="etype">abl.</span> <span class="etype">f.</span><br />latrō  -ōnis,  <span class="etype">m.</span> [<span class="gk">λάτρις</span>, <span class="def">hired servant</span>]<br />incitātus [in-citāre, <span class="def">hasten</span>]', 'iūrgium -ī, <span class="etype">n.</span> [iūrgāre, <span class="def">quarrel</span>]<br />īnferre, īn-ferō, intulī, inlātus', 'Then, the spoiler, prompted by a ravenous maw, alleged a pretext for a quarrel.'],
  ['“Cur” inquit “turbulentam fecisti mihi | Aquam bibenti?”', 'inquam <span class="etype">defect.</span><br />turbulentus [turba, <span class="def">turmoil</span>]', 'bib-ere, -ō, bibī, — [BI-, <span class="def">drink</span>]', '“Why,” said he, “have you made the water muddy for me while I am drinking?”'],
  ['Laniger contra timens: “Qui possum, quaeso, facere, quod quereris, lupe?', 'lāniger, -gera, -gerum [lāna+GES-, <span class="def">wool+carry</span>]<br />timēns  -ntis [timēre]', 'quaesere, -ō,  —, — [QUAES-, <span class="def">seek</span>]<br />quer-ī, -or,  questus <span class="etype">dep.</span> [QVES-, <span class="def">sigh/lament</span>]', 'The Fleece-bearer, trembling, answered: “Prithee, Wolf, how can I do what you complain of?'],
  ['A te decurrit ad meos haustus liquor”.', 'dē-currere, -ō, -cucurrī/-currī, -cursus [currere, <span class="def">run</span>]', 'haustus  -ūs,  <span class="etype">m.</span> [haurīre, <span class="def">drain</span>]<br />liquor -ōris,  <span class="etype">m.</span> [LIQV-/LIB-, <span class="def">flow</span>]', 'The water is flowing downwards from you to where I am drinking.”'],
  ['Repulsus ille veritatis viribus: ', 're-pellere, -ō,  reppulī(repulī), repulsus', 'vēritās -ātis, <span class="etype">f.</span> [vērus, <span class="def">true</span>]<br />vīs, vīs', 'The other, disconcerted by the force of truth, exclaimed:'],
  ['“Ante hos sex menses male,” ait, “dixisti mihi”.', 'mēnsis -is, <span class="etype">m.</span> [MA-/MAN-, <span class="def">measure</span>]', 'āiō <span class="etype">defect.</span><br />maledicere, -ō, -ixi, -ctum', '“Six months ago, you slandered me.”'],
  ['Respondit agnus: “Equidem natus non eram”.', 'equidem [e+quidem]', 'nāscī, -or,  nātus (gnātus) <span class="etype">dep.</span> [GEN-/GN-/GNA-, <span class="def">beget</span>]', '“Indeed,” answered the Lamb, “I was not born then.”'],
  ['“Pater hercle tuus,” ille inquit, “male dixit mihi”.', 'herc<span class="wl">(u)</span>le [Hercules]', '--', '“By Hercules,” said the Wolf, “then ’twas your father slandered me;”'],
  ['Atque ita correptum lacerat iniusta nece.', 'corripere, -iō, (conr-)ripuī, -reptus [com+rapere]', 'lacerāre [LAC-, <span class="def">tear</span>]<br />in-iūstus<br />nex necis, <span class="etype">f.</span> [NEC-/NOC-, <span class="def">kill/hunt</span>]', 'and so, snatching him up, he tore him to pieces, in an unjust slaughter.'],
  ['Haec propter illos scripta est homines fabula,', 'scrībere, -ō, scrīpsī, scrīptus [SCARP-/SCALP-, <span class="def">cut/scratch</span>]', '--', 'This Fable is applicable to those men'],
  ['Qui fictis causis innocentes opprimunt.', 'fictus [fingere, <span class="def">form</span>]<br />in-nocēns -entis', 'opprimere, -ō, -essī, -essus [ob+premere, <span class="def">towards+press</span>]', 'who, under false pretences, oppress the innocent.']
];

var shown = 0;

function updateVoc() {
	var i = Math.floor(shown / 4);

	var j = shown % 4;
	var w0, w2;
	if (document.getElementById("efirst").checked) {
		w0 = sentences[i][3];
		w0 = w0.replace(/<br \/>\[[^\]]+\]/, '');
		w2 = sentences[i][0];
		document.getElementById("v1").className = "v3";
		document.getElementById("v3").className = "la";
	} else {
		w0 = sentences[i][0];
		w2 = sentences[i][3];
		document.getElementById("v1").className = "la";
		document.getElementById("v3").className = "v3";
	}

	if (j == 0) {
		document.getElementById('v1').innerHTML = w0;
		document.getElementById('v2').innerHTML = "";
		document.getElementById('v3').innerHTML = "";
	} else if (j == 1) {
		document.getElementById('v1').innerHTML = w0;
		document.getElementById('v2').innerHTML = sentences[i][1];
		document.getElementById('v3').innerHTML = "";
	} else if (j == 2) {
		document.getElementById('v1').innerHTML = w0;
		document.getElementById('v2').innerHTML = sentences[i][2];
		document.getElementById('v3').innerHTML = "";
	} else if (j == 3) {
		document.getElementById('v1').innerHTML = w0;
		document.getElementById('v2').innerHTML = '&nbsp;';
		document.getElementById('v3').innerHTML = w2;
	}
}

function next() {
	shown++;
	if (shown > sentences.length * 4 - 1) {
		shown = 0;
		alert('All done!');
	}
	updateVoc();
}

function prev() {
	shown--;
	if (shown < 0) {
		shown = sentences.length * 4 - 1;
		alert('All done!');
	}
	updateVoc();
}


</script>

<body onload="updateVoc()">

<h1 style="text-align:center">The Self-Instruction Latin Classic</h1>



<div class="center">

<div id="v1" class="la"></div>
<div id="v2" class="v2">&nbsp;</div>
<div id="v3" class="v3"></div>

<a href="#" class="button" id="btnprev" onclick="prev()" accesskey="p">&lt;&lt;</a>
<a href="#" class="button" id="btnnext" onclick="next()" accesskey="n">&gt;&gt;</a>


</div>
<div class="options">
<label for="efirst"><input id="efirst" name="efirst" type="checkbox" onclick="shown=0;updateVoc();"/>English First</label>
</div>

<span id="dummy"></span>
</body>
</html>
